package com.cskaoyan.bean.wx.llk;

import lombok.Data;

import java.util.List;

@Data
public class ItemsBean<T> {
    List<T> items;
    int total;

    public static <T> ItemsBean data(List<T> items, int total){
        ItemsBean itemsBean = new ItemsBean();
        itemsBean.setItems(items);
        itemsBean.setTotal(total);
        return itemsBean;
    }
}